summaryrefslogtreecommitdiff
path: root/hi-ui/src/routes/(app)/ch/[channel]/+page.js
blob: 5fd493ad486fe6e10d7c57464facef7905f3aa9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export const ssr = false;

import { activeChannel } from '$lib/store';


/** @type {import('./$types').PageLoad} */
export function load({ params }) {
  let { channel } = params;
  activeChannel.update((value) => {
    value.set(channel)
    return value;
  });
}